<?php
/**
 * @author qingyu8@staff.weibo.com
 * @date 2018/07/01
 */

namespace api\modules\v1\controllers;

use common\logic\WechatPay;
use yii\web\Controller;

class WechatpayController extends Controller {
    public $enableCsrfValidation = false;

    public function actionAsyncNotify() {
        WechatPay::payNotify();
    }
    public function actionRefundNotify(){
        WechatPay::refundNotify();
    }
}
